export const msgStore = defineStore({
    id: "msg",
    state: () => ({
        count: 0,
    }),
    actions: {
        GetCount(): void {
            App.CallApi(Api.Message.GetCount, {
                data: { _Status: Enums.Message_Status.未读 },
                success: (res: any) => {
                    this.count = res;
                },
            });
        },
    },
});
